80312: All tests

Documentation

Owners

Name Affiliation Email Start End
Herm Fischer Mark V Systems fischer@markv.com 01-08-2020 at 12:00:00
Paul Hulst De Nederlandsche Bank P.J.Hulst@dnb.nl 01-08-2020 at 12:00:00

Test Case Variations


V-01 Instance with instant and duration facts

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-a.xml (DTS Discovery starting point) (ID=V01)
  • Function Call: xfi:single-unique-instant-date()

    (against file V01)

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-02 Instance without facts

Documentation

Tests that the function works with an empty instance.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-empty.xml (DTS Discovery starting point) (ID=V02)
  • Function Call: xfi:single-unique-instant-date()

    (against file V02)

Outputs

  • Result test: $result eq false()

V-03 Instance with instant and duration facts

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-e.xml (DTS Discovery starting point) (ID=V03)
  • Function Call: xfi:single-unique-instant-date()

    (against file V03)

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-04 Instance with instant and duration facts

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

Revisions

Name On Details
Herm Fischer 01-08-2020 at 12:00:00 Created the test case.